﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Reporte.aspx.cs" Inherits="SIBI.Reports.ConsultaBI.Reporte" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Consulta Bienes Informáticos</title>
    <link href="../../Content/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/themes/le-frog/jquery.ui.theme.css" rel="stylesheet" type="text/css" />

    
    <script src="/Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.ui.core.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.ui.widget.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.ui.datepicker.js" type="text/javascript"></script>
    <script src="/Scripts/MonRepScript.js" type="text/javascript"></script>
    <style type="text/css">
        .style1
        {
            width: 135px;
        }
        .style2
        {
            width: 151px;
        }
        .style3
        {
            width: 141px;
        }
        .style4
        {
            width: 171px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="vertical-align: middle; text-align: center">
        <asp:Panel ID="Panel1" runat="server" BackColor="#ECE9D8" Height="64px" 
        Width="100%">
            <table style="width:100%;">
                <tr>
                    <td class="style1">
                        <asp:Label ID="Label1" runat="server" Text="Localidad"></asp:Label>
                    </td>
                    <td class="style2">
                        <asp:TextBox ID="txtLocalidad" runat="server" Width="134px"></asp:TextBox>
                    </td>
                    <td class="style3">
                        <asp:Label ID="Label2" runat="server" Text="Clase de Objeto"></asp:Label>
                    </td>
                    <td class="style4">
                        <asp:TextBox ID="txtClase" runat="server" Width="132px"></asp:TextBox>
                    </td>
                    <td rowspan="2">Fecha Adquisición</td>
                    <td rowspan="2">
                       <table>
                            <tr><td rowspan="1">
                                    desde
                                </td><td>
                                    <asp:TextBox ID="txtFechaAdquisiciond" runat="server" class="date" Width="99px"></asp:TextBox>
                                </td>
                            </tr><tr><td align="right">hasta:</td>
                                <td>
                                    <asp:TextBox ID="txtFechaAdquisicionh" runat="server" class="date" Width="99px"></asp:TextBox>
                                </td>
                            </tr>
                            </table></td>
                   
                </tr>
                <tr>
                    <td class="style1">
                        Estado:
                    </td>
                    <td class="style2">
                            
                        <asp:TextBox ID="txtEstado" runat="server" Width="132px"></asp:TextBox>
                            
                    </td>
                    <td class="style3">
                        <asp:Label ID="Label4" runat="server" Text="Tipo de Bien"></asp:Label>
                    </td>
                    <td class="style4">
                        <asp:TextBox ID="txtTipoBien" runat="server" Width="132px"></asp:TextBox>
                    </td>
                    <td></td>
                    <td class="style4">
                        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                            Text="Filtrar" />
                    </td>
                </tr>
               
            </table>
        </asp:Panel>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana"  AsyncRendering="true"
            Width="80%" Height="675px" Font-Size="8pt" SizeToReportContent="True" 
            InteractiveDeviceInfos="(Colección)" WaitMessageFont-Names="Verdana"  ShowRefreshButton = "false"
            WaitMessageFont-Size="14pt" >
                <LocalReport ReportPath="REP\REP_ConsultaBI.rdl">
                </LocalReport>
        </rsweb:ReportViewer>
    </div>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#<%= txtFechaAdquisiciond.ClientID %>").ponFecha();
            $("#<%= txtFechaAdquisicionh.ClientID %>").ponFecha();
        });
    </script>
    </form>
</body>
</html>
